home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / stistics.arc / STURANGE.DOC < prev    next >
Text File  |  1988-07-24  |  4KB  |  64 lines

  1.                           STUDENTIZED RANGE TEST
  2.  
  3. AIM:   The program is designed to calculate a number which  represents  the 
  4. least amount that any two means can be separated for significance at the 5% 
  5. level.
  6.  
  7. EXAMPLE:   The  progress  of wound healing was compared  when  5  different 
  8. postoperative  regimens  were  employed after abdominal  surgery.   The  30 
  9. patients in the study were randomly assigned.  The numbers below  represent 
  10. coded data on the duration of healing.
  11.  
  12.       POSTOPERATIVE REGIMEN                Test data for Studentized Range
  13.     A     B     C     D     E              5  6                           
  14.                                            3  4  2  6  8                  
  15.     3     4     2     6     8              5  7  3  3  2                  
  16.     5     7     3     3     2              5  6  4  5  4                  
  17.     5     6     4     5     4              2  6  3  5  5                  
  18.     2     6     3     5     5              4  9  3  2  6                  
  19.     4     9     3     2     6              5  7  5  4  6                  
  20.     5     7     5     4     6              
  21.  
  22. The  table on the right shows the way the data should be entered in a  NON-
  23. DOCUMENT mode in a WordStar file, if you wish to enter the data from a file 
  24. rather  than from the keyboard.  Line 1 is the title (65 characters of  any 
  25. kind);  line  2 contains the number of columns, followed by the  number  of 
  26. rows.  Thereafter, the data itself is entered, just as in the table on  the 
  27. left.
  28.  
  29. Data  entry  from the keyboard consists of a title (65  characters  of  any 
  30. kind)  to  identify the data, followed by entry of the raw  data  (in  this 
  31. case,  the 30 numbers shown above).  The program calculates the totals  for 
  32. each  group (column), the means, the means squared and other items  in  the 
  33. Analysis of Variance.  The program then selects a number from its  built-in 
  34. Studentized  Range table (4.17 in this example), based upon the  number  of 
  35. groups  and  the  degrees of freedom.  It uses  this  extracted  number  to 
  36. calculate  the  smallest significant range at the 5% level (2.604  in  this 
  37. example).  All this is printed out along with the raw data.  
  38.  
  39. The  program  also  rearranges  the group  means  in  descending  order  of 
  40. magnitude for easy inspection of possible significant differences.  In  the 
  41. ranked  example output from the data above, the first mean (Group  2,  6.5) 
  42. does not differ from the second (Group 5, 5.167) by at least 2.6, so  these 
  43. two  are  not different at the 5% level.  The same is true for  the  second 
  44. (Group  5)  and third (Group 4) means, and so on.  On the other  hand,  the 
  45. first (Group 2) and the last (Group 3) differ by 3.167, which is more  than 
  46. 2.6.   Therefore,  these two groups are significantly different,  and  this 
  47. fact is printed out. 
  48.  
  49. The  user  may  select just screen output, or screen  and  printer  output.  
  50. Printer output is preferred because if there are more than 8 groups,  there 
  51. is not enough room on the standard 80 column screen to display the  columns 
  52. without  wrap  around.   If the printer option  is  selected,  columns  are 
  53. automatically printed in condensed typestyle (SG-10 and similar  printers), 
  54. which permits all data to fit on the paper without wrap around.  Note  that 
  55. all groups (Columns) must have the same number of data points.
  56.  
  57. REFERENCE:  Goldstein,  A.   1964   Biostatistics:  An  Introductory  Text.  
  58.             Macmillan Company, New York.  Pages 71-72 and Table 8.
  59.  
  60. BASIC VERSION:   Dr. Stanley Kaplan     May 84
  61. PASCAL VERSION:  Dr. Stanley Kaplan     Sep 85
  62. UPDATES:                                Oct 86 (Version 2.00)
  63.                                         Feb 87 (Version 2.10)
  64.                                         Feb 88 (MS-DOS, Version 2.2)